//
//  GQHttpTool.h
//  GuQu
//
//  Created by HELIUM STAR on 15/6/5.
//  Copyright (c) 2015年 HELIUM STAR. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GQHttpTool : NSObject

+ (void)GET:(NSString *)URLString
                    parameters:(id)parameters
                        success:(void (^)(id responseObject))success
                            failure:(void (^)(NSError *error))failure;

+ (void)POST:(NSString *)URLString
                    parameters:(id)parameters
                        success:(void (^)(id responseObject))success
                            failure:(void (^)(NSError *error))failure;

//+ (void)Upload:(NSString *)URLString
//                    parameters:(id)parameters
//                        uploadParam:(UIImage *)uploadParam
//                            success:(void (^)(id responseObject))success
//                                failure:(void (^)(NSError *error))failure;

@end
